package MaintMenu;

/**
 * Created with IntelliJ IDEA.
 * User: Jason
 * Date: 7/31/13
 * Time: 12:30 AM
 * To change this template use File | Settings | File Templates.
 */
public class timerSql {


    public void setbTime() {
        System.out.println("Begin Timer");
        this.bTime = (System.currentTimeMillis()/1000) ;
    }

    public void seteTime() {
        System.out.println("End Timer");
        this.eTime = (System.currentTimeMillis()/1000);
    }
    public String gettTime() {
        seteTime();
        tTime=(eTime-bTime);
        long min=tTime/60;
        long sec=tTime % 60;
        String sTime =min+" Minute : "+sec+ " Second";

        return sTime;
    }


    String sTime="";

    long bTime=0L;
    long eTime=0L;
    long tTime=0L;


}
